@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0">
        <div style="display: none">
            <input type="hidden" id="dimensionSelection" value="">
            <input type="hidden" id="isks" value="0">
            <input type="hidden" id="arrivalStoreValue" value="${arrivalStoreValue}">
            <input type="hidden" id="sttleAccountsTime" value="${sttleAccountsTime}">
            <input type="hidden" id="menuName" value="报表-全院报表">
        </div>
        <div class="numStatistics">
            <div style="display: none"></div>
            <div id="wholeHospitals" onclick="WholeHospital.toWholeHospitals()"><span>全院</span></div>
            @for(item in list){
            <div onclick="WholeHospital.toDimension('${item.dimensionEnglishName}')"><span>${item.dimensionChinaName}</span></div>
            @}
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <span>时间</span>
                    <input type="text" autocomplete="off" id="startTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" autocomplete="off" id="endTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                </div>
                <div style="margin-left: 20px;">
                    <button type="button" class="btn" onclick="WholeHospital.naturalDaySearch(1)">自然时间</button>
                    <button type="button" class="btn" onclick="WholeHospital.naturalDaySearch(2)">扎帐时间</button>
                </div>
                <div>
                    <span>门诊</span>
                    <select id="arrivalStore" title="请选择" name="arrivalStore" onchange="WholeHospital.selectionTwo()" style="width: 115px;">
                        <option value="请选择">请选择</option>
                        @for(str in outpatientManagementList){
                        <option value="${str.simplename}">${str.simplename}</option>
                        @}
                    </select>
                </div>
            </div>
            <div class="buttonBox">
                <div>
                    <button type="button" class="btn" onclick="WholeHospital.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                    @if(shiro.hasPermission("/report/export")){
                    <button type="button" class="btn" onclick="$('#WholeHospitalsTables').tableExport({ type: 'excel', escape: 'false' })">
                        <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/export.png"><span>导出</span></button>
                    @}
                </div>
            </div>
        </div>
        <div class="tableBox"><#table id="WholeHospitalsTables"/></div>
    </div>
</div>
<script src="${ctxPath}/static/modular/report/wholeHospital.js?v=20200718"></script>
@}